package cn.cosmosx.entity.sys;

import cn.cosmosx.base.define.BaseLogicEntity;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;
import lombok.experimental.Accessors;

/**
 * <p>
 * 权限表表
 * </p>
 *
 * @author gengzhy
 * @since 2022-10-02 23:52:28
 */
@Getter
@Setter
@Accessors(chain = true)
@TableName("sys_perms")
@ApiModel(value = "SysPerms对象", description = "权限表")
public class SysPerms extends BaseLogicEntity {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "主键")
    @TableId(value = "id", type = IdType.ASSIGN_ID)
    private Long id;

    @ApiModelProperty("权限名称")
    @TableField("perm_name")
    private String permName;

    @ApiModelProperty("权限url")
    @TableField("perm_url")
    private String permUrl;


}
